package com.flow.asyncflow.core.entity.mtdd;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

/**
 * 模块树实体
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MTDD_Model extends Project_Model {



    private List<SubModule_Model> subModule_modelList = new ArrayList<>();

    @EqualsAndHashCode(callSuper = true)
    @Data
    public static class SubModule_Model extends MTDD_Base_Model {

        /**
         * null或者0：没有修改 1：新增 2：修改 3：删除
         */
        private Integer subModule_EditType;

        private List<SubModule_Model> subModule_modelList = new ArrayList<>();

    }
}


